package com.sg.service.base.framework;

import com.sg.dto.base.framework.req.BatchQueryBizObjectNamesListReq;
import com.sg.dto.base.framework.req.QueryBizObjectDetailReq;
import com.sg.dto.base.framework.req.QueryBizObjectListReq;
import com.sg.entity.MetadataBusinessObject;

import java.util.List;

/**
 * @author ：
 * @version 1.0
 * @date ：
 */
public interface MMetadataBusinessObjectService {
    /**
     * 1-1-03批量查询业务对象名称列表（集合公用）
     */
    List<MetadataBusinessObject> batchQueryBizObjectNamesList(BatchQueryBizObjectNamesListReq reqDto);

    /**
     * 1-1-03查询业务对象列表
     */
    List<MetadataBusinessObject> queryBizObjectList(QueryBizObjectListReq reqDto);

    /**
     * 【验证接口】验证集合取第一条数据
     */
    boolean validationCollectionFirstData(List<MetadataBusinessObject> metadataBusinessObject);

    /**
     * 1-1-03查询业务对象详情
     */
    MetadataBusinessObject queryBizObjectDetail(QueryBizObjectDetailReq reqDto);

    /**
     * 1-1-03删除业务对象
     */
    boolean deleteBizObject(String businessObjectId);

    /**
     * 1-1-03修改业务对象
     */
    boolean updateBizObject(MetadataBusinessObject metadataBusinessObject);

    /**
     * 1-1-03新增业务对象
     */
    String addBizObject(MetadataBusinessObject metadataBusinessObject);
    //
}
